# LOCAL_PATH:= $(call my-dir)

# include $(CLEAR_VARS)
# LOCAL_MODULE_TAGS := optional
# LOCAL_SRC_FILES:= gpio_led_service.c
# LOCAL_MODULE:= gpio_led_service
# LOCAL_CFLAGS += \
#                 -Wno-error \
#                 -Wno-unused-parameter
# include $(BUILD_EXECUTABLE)


# 编译以后输出路径：Install: out/target/product/rk3568_r/system/bin/char_drv
# 139|rk3568_r:/system/bin # ./char_drv  100  执行 

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
#  什么环境下编译
MODULE_TAGS := optional
LOCAL_CFLAGS += \
                -Wno-error \
                -Wno-unused-parameter
# 编译出来的库
LOCAL_MODULE := char_drv
LOCAL_SRC_FILES := char_drv.c

include $(BUILD_EXECUTABLE)

